package com.mybatis.simple.pojo;


import java.util.Date;

public class TPassports {

    private Long id;
    private String nationality;
    private java.util.Date expire;
    private Long passengerId;

    public TPassports() {
    }

    public TPassports(Long id, String nationality, Date expire, Long passengerId) {
        this.id = id;
        this.nationality = nationality;
        this.expire = expire;
        this.passengerId = passengerId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }


    public java.util.Date getExpire() {
        return expire;
    }

    public void setExpire(java.util.Date expire) {
        this.expire = expire;
    }


    public Long getPassengerId() {
        return passengerId;
    }

    public void setPassengerId(Long passengerId) {
        this.passengerId = passengerId;
    }

    @Override
    public String toString() {
        return "TPassports{" +
                "id=" + id +
                ", nationality='" + nationality + '\'' +
                ", expire=" + expire +
                ", passengerId=" + passengerId +
                '}';
    }
}
